﻿#include <QApplication>
#include <QDesktopWidget>

#include "MainWindow.h"


int main(int argc, char* argv[])
{

    QApplication app(argc, argv);

    QDesktopWidget desktop;
    int defaultWidth = desktop.width() >> 1;
    int defaultHeight = desktop.height() >> 1;

    MainWindow appWindow;
    appWindow.resize(defaultWidth, defaultHeight);
    appWindow.show();

    return app.exec();
}
